package school.valon.dto;

import java.io.Serializable;
import java.util.List;

public class CourseDto implements Serializable {

	private static final long serialVersionUID = 3060770289464417435L;

	private Integer courseId;

	private String courseDescription;

	private String courseName;
	
	private byte[] files;

	private CourseDto course;

	private List<CourseDto> courses;

	private List<CourseOfferingDto> courseOfferings;

	public Integer getCourseId() {
		return this.courseId;
	}

	public void setCourseId(Integer courseId) {
		this.courseId = courseId;
	}

	public String getCourseDescription() {
		return this.courseDescription;
	}

	public void setCourseDescription(String courseDescription) {
		this.courseDescription = courseDescription;
	}

	public String getCourseName() {
		return this.courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public byte[] getFiles() {
		return this.files;
	}

	public void setFiles(byte[] files) {
		this.files = files;
	}

	public CourseDto getCourse() {
		return this.course;
	}

	public void setCourse(CourseDto course) {
		this.course = course;
	}

	public List<CourseDto> getCourses() {
		return this.courses;
	}

	public void setCourses(List<CourseDto> courses) {
		this.courses = courses;
	}

	public List<CourseOfferingDto> getCourseOfferings() {
		return this.courseOfferings;
	}

	public void setCourseOfferings(List<CourseOfferingDto> courseOfferings) {
		this.courseOfferings = courseOfferings;
	}

	@Override
	public String toString() {
		return courseName + " " + courseDescription;
	}
}